﻿<%@page contentType="text/vnd.wap.wml; charset=utf-8"%>
<%@ page import="java.io.*"%>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.*"%>
<%@ page import="java.text.*"%>
<%@ page import="common.*"%>
<%@ page import="wapbean.*"%>

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org//DTD//wml_1.1.xml">   
<wml>
<%     Vector ver=new Vector();
     String  purl=request.getParameter("purl");
      String  storytypeid=request.getParameter("storytypeid");
	 StoryFactory story= new StoryFactory ();
	 StoryContentBean storybean=story.getStorytypeBean(storytypeid);
	 if(purl.equals("htk8")){
	 ver = story.getStoryContent1(storytypeid); 
	 }
	 else{
	  ver = story.getStoryContent(storytypeid);  
     }
     %>
<card id="card1" title="书籍--大全">   
<p align="left">
  <img src="/game3.0/img/logo.png" alt=""/><br />
<%=storybean.getStorytypename() %>：<br /> 
     ★<a href="/game3.0/wappages/storydown.jsp?storytypeid=<%=storytypeid %>&amp;storyid=79&amp;purl=<%=purl %>">卓阅电子书II</a><br /> 
     ★<a href="/game3.0/wappages/storydown.jsp?storytypeid=<%=storytypeid %>&amp;storyid=17&amp;purl=<%=purl %>">卓阅电子书</a><br /> 
     <%            
              
				   if(ver!=null&&!ver.isEmpty()){  
                   int m=ver.size();
                   for(int i=0;i<m;i++){
                    StoryContentBean bea=(StoryContentBean)ver.elementAt(i);
				%>
				
				★<a href="/game3.0/wappages/storydown.jsp?storytypeid=<%=storytypeid %>&amp;storyid=<%=bea.getStoryid()%>&amp;purl=<%=purl %>"><%=bea.getStoryName()%></a>
                
			<%//if((i+1)%2==0){%> 
				 <br /> 
			<%}}//}%>  <br />     
	<a href="/game3.0/wappages/storytype.jsp?purl=<%=purl%>">返回</a><br />       
	wap.leyoou.cn
	  
	</p>
</card>
</wml>